package cn.tedu.boot09.mapper;

import cn.tedu.boot09.entity.Emp;

import java.util.List;

public interface EmpMapper {
    void insert(Emp emp);
    void insertByIds(List<Emp> emps);

    void deleteById(int id);
    int deleteByIds(List<Integer> ids);

    void update(Emp emp);

    Emp selectById(int id);
    List<Emp> select();
    int count();
}
